From: Ian Campbell Date: Thu, 2 Sep 2010 17:16:28 +0000 (+0100) Subject: libxl: do not log lack of guest support for suspend event channel X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11543 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=9b870a7e35d894536701834b1efa01ff42414b1f;p=xen.git libxl: do not log lack of guest support for suspend event channel Implementation of the suspend event channel is completely optional for a guest so do not log this normal occurrence. Signed-off-by: Ian Campbell Signed-off-by: Ian Jackson --- diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index a07bea755b..e83bbbf20b 100644 --- a/tools/libxl/libxl_dom.c +++ b/tools/libxl/libxl_dom.c @@ -378,9 +378,7 @@ int core_suspend(libxl_ctx *ctx, uint32_t domid, int fd, if (si.xce > 0) { port = xs_suspend_evtchn_port(si.domid); - if (port < 0) { - XL_LOG(ctx, XL_LOG_WARNING, "Failed to get the suspend evtchn port"); - } else { + if (port >= 0) { si.suspend_eventchn = xc_suspend_evtchn_init(ctx->xch, si.xce, si.domid, port); if (si.suspend_eventchn < 0)